package com.nsqt.biz.service.impl;

import com.nsqt.biz.dao.TestreportDao;
import com.nsqt.biz.domain.TestreportDO;
import com.nsqt.biz.service.TestreportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TestreportServiceImpl implements TestreportService {
    @Autowired
    private TestreportDao testreportDao;

    @Override
    public TestreportDO get(Integer id) {
        return testreportDao.get(id);
    }

    @Override
    public List<TestreportDO> list(Map<String, Object> map) {
        return testreportDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return testreportDao.count(map);
    }

    @Override
    public int save(TestreportDO testreport) {
        return testreportDao.save(testreport);
    }

    @Override
    public int update(TestreportDO testreport) {
        return testreportDao.update(testreport);
    }

    @Override
    public int remove(Integer id) {
        return testreportDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return testreportDao.batchRemove(ids);
    }

}
